{{extend "config_layout.html"}}

{{block menu}}
{{menu('config')}}
{{end}}

{{block sub_menu}}
{{sub_menu(menu_items, 'admin_config', 'users')}}
{{end}}

{{block content_tool}}
{{if request.user.is_superuser or request.user.is_manager:}}
    <a class="btn btn-blue" href="/config/users/add">点击这里增加新用户</a>
{{pass}}
{{end}}

{{block content_main}}
{{use "jquery"}}

<div class="content">
    <div class="query">
        {{embed query_form}}
    </div>
    {{table_id='users_table'}}
    {{include "inc_table.html"}}
    <script>
        $(function(){
            create_table("{{=request.path}}", true, {nowrap:true});
        });
    </script>
</div>

{{end}}
